import { defineStore } from "pinia";
let lang: any = "en";
if (localStorage.getItem("lang")) {
  lang = localStorage.getItem("lang");
} else {
  localStorage.setItem("lang", "en");
}

export const useGlobal = defineStore('global', {
  state: () => ({
    lang,
  }),
  actions: {
    
  }
})
